package com.decade.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.experimental.FieldNameConstants;

import java.io.Serializable;

/**
 * @author gzk
 * @date 2021/49/11 15:49
 */
@Data
@Accessors(chain = true)
@FieldNameConstants
@TableName("jxe_stock_shop")
public class Stock implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *  id
     */
    @TableField("id")
    private Long id;
    /**
     * 物料ID
     */
    @TableField("material_id")
    private Long materialId;
    /**
     * 库存
     */
    @TableField("usable_stock")
    private Integer usableStock;
    /**
     * 数量
     */
    @TableField("delivery_quantity")
    private Integer deliveryQuantity;
}
